import request from '../request/request.ts';

// 学生分布情况
export const apitq = () => request({
    url: 'https://v1.yiketianqi.com/api',
    method: 'GET',
    params: {
        appid: '91539445',
        appsecret: '8TSA84bz',
        version: 'v1',
    }
})

// 智能检测右上图
// 水量用量测量
export const getrighttop = ()=>request({ 
    url:'/api/v1.0/api/intelligentDetection/dataTop',
    method: 'GET',
})
// 智能检测又下图
// 校园人员流动情况
export const getrightbotton = ()=>request({
    url:'/api/v1.0/api/intelligentDetection/dataBottom',
    method: 'GET',
})

// 安防管理
// 监控情况
export const getAflefttop = ()=>request({
    url:'/api/v1.0/api/safeManage/monitoringSituation',
    method: 'GET',
}) 

// 安防管理
// 门禁情况
export const getAfleftcenter = ()=>request({
    url:'/api//v1.0/api/safeManage/dutySituation',
    method:'get',
})




















// export const getrighttop=()=>{
//     return request({
//             url:'/api/v1.0/api/intelligentDetection/dataTop',
//             method: 'GET',
//     })
// }























export const apiECartes1 = () => request({
    url: '/api/intelligentDetection/data',
    method: 'GET',
})

